projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96e7777
)
button: Update to using GdkEvent API
author
Carlos Garnacho
<carlosg@gnome.org>
Fri, 25 Aug 2017 14:43:09 +0000
(16:43 +0200)
committer
Carlos Garnacho
<carlosg@gnome.org>
Tue, 19 Sep 2017 16:39:02 +0000
(18:39 +0200)
gtk/gtkbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkbutton.c
b/gtk/gtkbutton.c
index 592fa10644bf67be050faf997398a64536e4e07a..43a9af7df96a66d57be77a0c4864d7ee1722ec4c 100644
(file)
--- a/
gtk/gtkbutton.c
+++ b/
gtk/gtkbutton.c
@@
-328,7
+328,7
@@
touch_release_in_button (GtkButton *button)
if (!event)
return FALSE;
- if (
event->type
!= GDK_TOUCH_END)
+ if (
gdk_event_get_event_type (event)
!= GDK_TOUCH_END)
{
gdk_event_free (event);
return FALSE;